package com.im.event;

import com.core.sdk.core.BaseEvent;
import com.core.sdk.core.Location;

public class FriendEvent extends BaseEvent {

	private static final long serialVersionUID = 1L;

	public enum Option{
		add,remove,none
	}
	
	private Option op;
	String friendId;
	
	/** 朋友的别名 */
	String name;
	
	/** 添加朋友到哪个分组 */
	String group;
	
	public FriendEvent(Location to,Option op,String fid) {
		super(to);
		this.op = op;
		this.friendId = fid;
	}
	public Option getOp() {
		return op;
	}
	public void setOp(Option op) {
		this.op = op;
	}
	public String getFriendId() {
		return friendId;
	}
	public void setFriendId(String friendId) {
		this.friendId = friendId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getGroup() {
		return group;
	}
	public void setGroup(String group) {
		this.group = group;
	}
}
